﻿<Window
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" x:Class="MainWindow"
    Title="Wyvern Beta" FontFamily="Segoe WP N" FontSize="13.333" WindowState="Maximized">
    <Grid x:Name="LayoutRoot" Background="#FF1F1F1F">
    	<Grid.RowDefinitions>
    		<RowDefinition Height="Auto"/>
    		<RowDefinition Height="Auto"/>
    		<RowDefinition/>
    		<RowDefinition Height="Auto"/>
    	</Grid.RowDefinitions>
        
    	<StackPanel VerticalAlignment="Bottom" Orientation="Horizontal" Background="#FFE0E0E0"/>
    	<StackPanel x:Name="ToolView" Background="#FFE0E0E0" Height="80" Grid.Row="1" VerticalAlignment="Top" Orientation="Horizontal" >
    		<Grid x:Name="OpenButton" Width="60" Margin="10,5,0,5">
    			<Grid.RowDefinitions>
    				<RowDefinition/>
    				<RowDefinition Height="25"/>
    			</Grid.RowDefinitions>
    			<Rectangle Fill="White" Stroke="DarkGray" Grid.RowSpan="2"/>
    			<TextBlock TextWrapping="Wrap" Text="Open" VerticalAlignment="Top" d:LayoutOverrides="Width" Grid.Row="1" HorizontalAlignment="Center"/>
    			<Image Source="Folder-Page-White.png" Stretch="None" VerticalAlignment="Center" Margin="0,5,0,0"/>
    		</Grid>
    		<Grid x:Name="SaveButton" Width="60" Margin="5,5,0,5">
    			<Grid.RowDefinitions>
    				<RowDefinition/>
    				<RowDefinition Height="25"/>
    			</Grid.RowDefinitions>
    			<Rectangle Fill="White" Stroke="DarkGray" Grid.RowSpan="2"/>
    			<TextBlock TextWrapping="Wrap" Text="Save" VerticalAlignment="Top" d:LayoutOverrides="Width" Grid.Row="1" HorizontalAlignment="Center"/>
    			<Image Source="Disk.png" Stretch="None" VerticalAlignment="Center" Margin="0,5,0,0"/>
    		</Grid>
    		<Grid x:Name="CopyButton" Width="60" Margin="5,5,0,5">
    			<Grid.RowDefinitions>
    				<RowDefinition/>
    				<RowDefinition Height="25"/>
    			</Grid.RowDefinitions>
    			<Rectangle Fill="White" Stroke="DarkGray" Grid.RowSpan="2"/>
    			<TextBlock TextWrapping="Wrap" Text="Copy" VerticalAlignment="Top" d:LayoutOverrides="Width" Grid.Row="1" HorizontalAlignment="Center"/>
    			<Image Source="Page-White-Copy.png" Stretch="None" VerticalAlignment="Center" Margin="0,5,0,0"/>
    		</Grid>
    		<Grid x:Name="PasteButton" Width="60" Margin="5,5,0,5">
    			<Grid.RowDefinitions>
    				<RowDefinition/>
    				<RowDefinition Height="25"/>
    			</Grid.RowDefinitions>
    			<Rectangle Fill="White" Stroke="DarkGray" Grid.RowSpan="2"/>
    			<TextBlock TextWrapping="Wrap" Text="Paste" VerticalAlignment="Top" d:LayoutOverrides="Width" Grid.Row="1" HorizontalAlignment="Center"/>
    			<Image Source="Paste-Plain.png" Stretch="None" VerticalAlignment="Center" Margin="0,5,0,0"/>
    		</Grid>
    		<Grid x:Name="BreakButton" Width="60" Margin="5,5,0,5">
    			<Grid.RowDefinitions>
    				<RowDefinition/>
    				<RowDefinition Height="25"/>
    			</Grid.RowDefinitions>
    			<Rectangle Fill="White" Stroke="DarkGray" Grid.RowSpan="2"/>
    			<TextBlock TextWrapping="Wrap" Text="Break" VerticalAlignment="Top" d:LayoutOverrides="Width" Grid.Row="1" HorizontalAlignment="Center"/>
    			<Image Source="Document-Break.png" Stretch="None" VerticalAlignment="Center" Margin="0,5,0,0"/>
    		</Grid>
    		<Grid x:Name="TranslateButton" Width="60" Margin="5,5,0,5">
    			<Grid.RowDefinitions>
    				<RowDefinition/>
    				<RowDefinition Height="25"/>
    			</Grid.RowDefinitions>
    			<Rectangle Fill="White" Stroke="DarkGray" Grid.RowSpan="2"/>
    			<TextBlock TextWrapping="Wrap" Text="Translate" VerticalAlignment="Top" d:LayoutOverrides="Width" Grid.Row="1" HorizontalAlignment="Center"/>
    			<Image Source="Document-Move.png" Stretch="None" VerticalAlignment="Center" Margin="0,5,0,0"/>
    		</Grid>
    		<Grid x:Name="PrintButton" Width="60" Margin="5,5,0,5">
    			<Grid.RowDefinitions>
    				<RowDefinition/>
    				<RowDefinition Height="25"/>
    			</Grid.RowDefinitions>
    			<Rectangle Fill="White" Stroke="DarkGray" Grid.RowSpan="2"/>
    			<TextBlock TextWrapping="Wrap" Text="Print" VerticalAlignment="Top" d:LayoutOverrides="Width" Grid.Row="1" HorizontalAlignment="Center"/>
    			<Image Source="Printer.png" Stretch="None" VerticalAlignment="Center" Margin="0,5,0,0"/>
    		</Grid>
    	</StackPanel>
        
    	<Grid Height="40" Grid.Row="3" VerticalAlignment="Bottom">
    		<Grid.ColumnDefinitions>
    			<ColumnDefinition Width="Auto"/>
    			<ColumnDefinition Width="Auto"/>
    			<ColumnDefinition Width="Auto"/>
    			<ColumnDefinition/>
    		</Grid.ColumnDefinitions>
    		<TextBlock x:Name="CharNum" TextWrapping="Wrap" Text="C0" VerticalAlignment="Top" d:LayoutOverrides="Width" FontFamily="Segoe WP Semibold" FontSize="26.667" Foreground="White" Margin="20,0,0,0"/>
    		<TextBlock x:Name="LineNum" TextWrapping="Wrap" Text="L0" VerticalAlignment="Top" FontFamily="Segoe WP Semibold" FontSize="26.667" d:LayoutOverrides="Width" Grid.Column="1" Margin="20,0,0,0" Foreground="White"/>
    		<TextBlock x:Name="PageNum" TextWrapping="Wrap" Text="P1" VerticalAlignment="Top" FontFamily="Segoe WP Semibold" FontSize="26.667" Grid.Column="2" Margin="20,0,0,0" Foreground="White" d:LayoutOverrides="Width, GridBox" Visibility="Hidden"/>
    	</Grid>
    	<Grid Grid.Row="2">
    		<Grid.ColumnDefinitions>
    			<ColumnDefinition/>
    			<ColumnDefinition Width="Auto"/>
    			<ColumnDefinition/>
    		</Grid.ColumnDefinitions>
    		<GridSplitter HorizontalAlignment="Center" Grid.Row="1" Grid.Column="1" Width="5" Background="#FF1F1F1F" ShowsPreview="True"/>
    		<ScrollViewer x:Name="HScroll" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" ScrollViewer.HorizontalScrollBarVisibility="Auto">
    			<StackPanel x:Name="HView">
    				<TextBox x:Name="HBox" BorderThickness="0" FontFamily="TH Sarabun New" FontSize="24" Padding="20,15" HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Disabled" AcceptsReturn="True" Style="{DynamicResource Human}" MinLines="25" Margin="0"/>
    			</StackPanel>
    		</ScrollViewer>
    		<ScrollViewer x:Name="BScroll" Grid.Column="2" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" ScrollViewer.HorizontalScrollBarVisibility="Auto">
    			<StackPanel x:Name="BView">
    				<TextBox x:Name="BBox" BorderThickness="0" FontFamily="Braille" FontSize="26.667" Padding="20,15" VerticalScrollBarVisibility="Disabled" HorizontalScrollBarVisibility="Disabled" IsReadOnly="True" AcceptsReturn="True" Style="{DynamicResource Braille}" MinLines="25"/>
    			</StackPanel>
    		</ScrollViewer>
    	</Grid>
        
    </Grid>
</Window>
